From 6d6c43ee04843d1da62a8daedbc466ce7d312120 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 14 Nov 2011 21:42:27 +0000 Subject: [PATCH] Fix for r102997: forgot to change that variable --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index b4602df448..5fbfc3b776 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -229,7 +229,7 @@ class Article extends Page { // Revision title doesn't match the page title given? if ( $this->mPage->getID() != $this->mRevision->getPage() ) { $function = array( get_class( $this->mPage ), 'newFromID' ); - $this->mPage = call_user_func( $function, $revision->getPage() ); + $this->mPage = call_user_func( $function, $this->mRevision->getPage() ); } } } -- 2.20.1